Integrand size = 26, antiderivative size = 241 \[ \int \frac {x^2 \sqrt {2+b x^2}}{\sqrt {3+d x^2}} \, dx=-\frac {2 (3 b-d) x \sqrt {2+b x^2}}{3 b d \sqrt {3+d x^2}}+\frac {x \sqrt {2+b x^2} \sqrt {3+d x^2}}{3 d}+\frac {2 \sqrt {2} (3 b-d) \sqrt {2+b x^2} E\left (\arctan \left (\frac {\sqrt {d} x}{\sqrt {3}}\right )|1-\frac {3 b}{2 d}\right )}{3 b d^{3/2} \sqrt {\frac {2+b x^2}{3+d x^2}} \sqrt {3+d x^2}}-\frac {\sqrt {2} \sqrt {2+b x^2} \operatorname {EllipticF}\left (\arctan \left (\frac {\sqrt {d} x}{\sqrt {3}}\right ),1-\frac {3 b}{2 d}\right )}{d^{3/2} \sqrt {\frac {2+b x^2}{3+d x^2}} \sqrt {3+d x^2}} \]
[Out]
Time = 0.10 (sec) , antiderivative size = 241, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.192, Rules used = {489, 545, 429, 506, 422} \[ \int \frac {x^2 \sqrt {2+b x^2}}{\sqrt {3+d x^2}} \, dx=-\frac {\sqrt {2} \sqrt {b x^2+2} \operatorname {EllipticF}\left (\arctan \left (\frac {\sqrt {d} x}{\sqrt {3}}\right ),1-\frac {3 b}{2 d}\right )}{d^{3/2} \sqrt {d x^2+3} \sqrt {\frac {b x^2+2}{d x^2+3}}}+\frac {2 \sqrt {2} (3 b-d) \sqrt {b x^2+2} E\left (\arctan \left (\frac {\sqrt {d} x}{\sqrt {3}}\right )|1-\frac {3 b}{2 d}\right )}{3 b d^{3/2} \sqrt {d x^2+3} \sqrt {\frac {b x^2+2}{d x^2+3}}}+\frac {x \sqrt {b x^2+2} \sqrt {d x^2+3}}{3 d}-\frac {2 x (3 b-d) \sqrt {b x^2+2}}{3 b d \sqrt {d x^2+3}} \]
[In]
[Out]
Rule 422
Rule 429
Rule 489
Rule 506
Rule 545
Rubi steps \begin{align*} \text {integral}& = \frac {x \sqrt {2+b x^2} \sqrt {3+d x^2}}{3 d}-\frac {\int \frac {6+2 (3 b-d) x^2}{\sqrt {2+b x^2} \sqrt {3+d x^2}} \, dx}{3 d} \\ & = \frac {x \sqrt {2+b x^2} \sqrt {3+d x^2}}{3 d}-\frac {2 \int \frac {1}{\sqrt {2+b x^2} \sqrt {3+d x^2}} \, dx}{d}-\frac {(2 (3 b-d)) \int \frac {x^2}{\sqrt {2+b x^2} \sqrt {3+d x^2}} \, dx}{3 d} \\ & = -\frac {2 (3 b-d) x \sqrt {2+b x^2}}{3 b d \sqrt {3+d x^2}}+\frac {x \sqrt {2+b x^2} \sqrt {3+d x^2}}{3 d}-\frac {\sqrt {2} \sqrt {2+b x^2} F\left (\tan ^{-1}\left (\frac {\sqrt {d} x}{\sqrt {3}}\right )|1-\frac {3 b}{2 d}\right )}{d^{3/2} \sqrt {\frac {2+b x^2}{3+d x^2}} \sqrt {3+d x^2}}+\frac {(2 (3 b-d)) \int \frac {\sqrt {2+b x^2}}{\left (3+d x^2\right )^{3/2}} \, dx}{b d} \\ & = -\frac {2 (3 b-d) x \sqrt {2+b x^2}}{3 b d \sqrt {3+d x^2}}+\frac {x \sqrt {2+b x^2} \sqrt {3+d x^2}}{3 d}+\frac {2 \sqrt {2} (3 b-d) \sqrt {2+b x^2} E\left (\tan ^{-1}\left (\frac {\sqrt {d} x}{\sqrt {3}}\right )|1-\frac {3 b}{2 d}\right )}{3 b d^{3/2} \sqrt {\frac {2+b x^2}{3+d x^2}} \sqrt {3+d x^2}}-\frac {\sqrt {2} \sqrt {2+b x^2} F\left (\tan ^{-1}\left (\frac {\sqrt {d} x}{\sqrt {3}}\right )|1-\frac {3 b}{2 d}\right )}{d^{3/2} \sqrt {\frac {2+b x^2}{3+d x^2}} \sqrt {3+d x^2}} \\ \end{align*}
Result contains complex when optimal does not.
Time = 0.76 (sec) , antiderivative size = 127, normalized size of antiderivative = 0.53 \[ \int \frac {x^2 \sqrt {2+b x^2}}{\sqrt {3+d x^2}} \, dx=\frac {\sqrt {b} d x \sqrt {2+b x^2} \sqrt {3+d x^2}+2 i \sqrt {3} (3 b-d) E\left (i \text {arcsinh}\left (\frac {\sqrt {b} x}{\sqrt {2}}\right )|\frac {2 d}{3 b}\right )-2 i \sqrt {3} (3 b-2 d) \operatorname {EllipticF}\left (i \text {arcsinh}\left (\frac {\sqrt {b} x}{\sqrt {2}}\right ),\frac {2 d}{3 b}\right )}{3 \sqrt {b} d^2} \]
[In]
[Out]
Time = 4.16 (sec) , antiderivative size = 259, normalized size of antiderivative = 1.07
method | result | size |
risch | \(\frac {x \sqrt {b \,x^{2}+2}\, \sqrt {d \,x^{2}+3}}{3 d}-\frac {2 \left (\frac {3 \sqrt {3 d \,x^{2}+9}\, \sqrt {2 b \,x^{2}+4}\, F\left (\frac {x \sqrt {-3 d}}{3}, \frac {\sqrt {-4+\frac {6 b +4 d}{d}}}{2}\right )}{2 \sqrt {-3 d}\, \sqrt {b d \,x^{4}+3 b \,x^{2}+2 d \,x^{2}+6}}-\frac {\left (3 b -d \right ) \sqrt {3 d \,x^{2}+9}\, \sqrt {2 b \,x^{2}+4}\, \left (F\left (\frac {x \sqrt {-3 d}}{3}, \frac {\sqrt {-4+\frac {6 b +4 d}{d}}}{2}\right )-E\left (\frac {x \sqrt {-3 d}}{3}, \frac {\sqrt {-4+\frac {6 b +4 d}{d}}}{2}\right )\right )}{\sqrt {-3 d}\, \sqrt {b d \,x^{4}+3 b \,x^{2}+2 d \,x^{2}+6}\, b}\right ) \sqrt {\left (b \,x^{2}+2\right ) \left (d \,x^{2}+3\right )}}{3 d \sqrt {b \,x^{2}+2}\, \sqrt {d \,x^{2}+3}}\) | \(259\) |
elliptic | \(\frac {\sqrt {\left (b \,x^{2}+2\right ) \left (d \,x^{2}+3\right )}\, \left (\frac {x \sqrt {b d \,x^{4}+3 b \,x^{2}+2 d \,x^{2}+6}}{3 d}-\frac {\sqrt {3 d \,x^{2}+9}\, \sqrt {2 b \,x^{2}+4}\, F\left (\frac {x \sqrt {-3 d}}{3}, \frac {\sqrt {-4+\frac {6 b +4 d}{d}}}{2}\right )}{d \sqrt {-3 d}\, \sqrt {b d \,x^{4}+3 b \,x^{2}+2 d \,x^{2}+6}}-\frac {\left (2-\frac {6 b +4 d}{3 d}\right ) \sqrt {3 d \,x^{2}+9}\, \sqrt {2 b \,x^{2}+4}\, \left (F\left (\frac {x \sqrt {-3 d}}{3}, \frac {\sqrt {-4+\frac {6 b +4 d}{d}}}{2}\right )-E\left (\frac {x \sqrt {-3 d}}{3}, \frac {\sqrt {-4+\frac {6 b +4 d}{d}}}{2}\right )\right )}{\sqrt {-3 d}\, \sqrt {b d \,x^{4}+3 b \,x^{2}+2 d \,x^{2}+6}\, b}\right )}{\sqrt {b \,x^{2}+2}\, \sqrt {d \,x^{2}+3}}\) | \(268\) |
default | \(\frac {\sqrt {b \,x^{2}+2}\, \sqrt {d \,x^{2}+3}\, \left (b^{2} d \,x^{5} \sqrt {-d}+3 b^{2} x^{3} \sqrt {-d}+2 b d \,x^{3} \sqrt {-d}+3 \sqrt {2}\, F\left (\frac {x \sqrt {3}\, \sqrt {-d}}{3}, \frac {\sqrt {2}\, \sqrt {3}\, \sqrt {\frac {b}{d}}}{2}\right ) b \sqrt {b \,x^{2}+2}\, \sqrt {d \,x^{2}+3}-2 \sqrt {2}\, F\left (\frac {x \sqrt {3}\, \sqrt {-d}}{3}, \frac {\sqrt {2}\, \sqrt {3}\, \sqrt {\frac {b}{d}}}{2}\right ) d \sqrt {b \,x^{2}+2}\, \sqrt {d \,x^{2}+3}-6 \sqrt {2}\, E\left (\frac {x \sqrt {3}\, \sqrt {-d}}{3}, \frac {\sqrt {2}\, \sqrt {3}\, \sqrt {\frac {b}{d}}}{2}\right ) b \sqrt {b \,x^{2}+2}\, \sqrt {d \,x^{2}+3}+2 \sqrt {2}\, E\left (\frac {x \sqrt {3}\, \sqrt {-d}}{3}, \frac {\sqrt {2}\, \sqrt {3}\, \sqrt {\frac {b}{d}}}{2}\right ) d \sqrt {b \,x^{2}+2}\, \sqrt {d \,x^{2}+3}+6 b x \sqrt {-d}\right )}{3 \left (b d \,x^{4}+3 b \,x^{2}+2 d \,x^{2}+6\right ) d \sqrt {-d}\, b}\) | \(306\) |
[In]
[Out]
none
Time = 0.09 (sec) , antiderivative size = 146, normalized size of antiderivative = 0.61 \[ \int \frac {x^2 \sqrt {2+b x^2}}{\sqrt {3+d x^2}} \, dx=\frac {6 \, \sqrt {3} \sqrt {b d} {\left (3 \, b - d\right )} x \sqrt {-\frac {1}{d}} E(\arcsin \left (\frac {\sqrt {3} \sqrt {-\frac {1}{d}}}{x}\right )\,|\,\frac {2 \, d}{3 \, b}) - 2 \, \sqrt {3} \sqrt {b d} {\left (d^{2} + 9 \, b - 3 \, d\right )} x \sqrt {-\frac {1}{d}} F(\arcsin \left (\frac {\sqrt {3} \sqrt {-\frac {1}{d}}}{x}\right )\,|\,\frac {2 \, d}{3 \, b}) + {\left (b d^{2} x^{2} - 6 \, b d + 2 \, d^{2}\right )} \sqrt {b x^{2} + 2} \sqrt {d x^{2} + 3}}{3 \, b d^{3} x} \]
[In]
[Out]
\[ \int \frac {x^2 \sqrt {2+b x^2}}{\sqrt {3+d x^2}} \, dx=\int \frac {x^{2} \sqrt {b x^{2} + 2}}{\sqrt {d x^{2} + 3}}\, dx \]
[In]
[Out]
\[ \int \frac {x^2 \sqrt {2+b x^2}}{\sqrt {3+d x^2}} \, dx=\int { \frac {\sqrt {b x^{2} + 2} x^{2}}{\sqrt {d x^{2} + 3}} \,d x } \]
[In]
[Out]
\[ \int \frac {x^2 \sqrt {2+b x^2}}{\sqrt {3+d x^2}} \, dx=\int { \frac {\sqrt {b x^{2} + 2} x^{2}}{\sqrt {d x^{2} + 3}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {x^2 \sqrt {2+b x^2}}{\sqrt {3+d x^2}} \, dx=\int \frac {x^2\,\sqrt {b\,x^2+2}}{\sqrt {d\,x^2+3}} \,d x \]
[In]
[Out]